/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.pb.sistcomp.controller;

import java.io.Serializable;

/**
 *
 * @author fagner
 */
public class UploadedImage implements Serializable{
    
    private int length;
    private String name;
    private byte[] data;

    public UploadedImage() {
    }

    public UploadedImage(int length, String name, byte[] data) {
        this.length = length;
        this.name = name;
        this.data = data;
    }
    

    public byte[] getData() {
        return data;
    }

    public int getLength() {
        return length;
    }

    public String getName() {
        return name;
    }
    void setLength(int length) {
        this.length = length;
    }

    void setName(String name) {
        this.name = name;
    }

    void setData(byte[] data) {
        this.data = data;
    }
    
}
